(define-module (passera)
  #:use-module (guix packages)
  #:use-module (guix git-download)
  #:use-module (guix build-system go)
  #:use-module ((guix licenses) #:prefix license:)
  )

;; Fails with something about PATH being unset:
;; environment variable `PATH' unset


(define-public passera
  (package
   (name "passera")
   (version "")
   (source (origin
            (method git-fetch)
            (uri (git-reference
                  (url "https://github.com/mwgg/passera")
                  (commit "1a9f391c85adb7e4b842d3896275ab7f88e54693")))
            (sha256
             (base32
              "1i4907ls9zsq7wl28kzc3m8sl96rar929gpfdc903j8fy6dfvnyz"))))
   (build-system go-build-system)
   (arguments
    `(#:import-path "github.com/mwgg/passera"
      #:unpack-path "github.com/mwgg"
      #:install-source? #f))
   (synopsis "Tool to turn any entered passphrase into a strong secure password")
   (description "A simple tool that allows users to have strong unique
passwords for each website, without the need to store them either
locally or with an online service.")
   (home-page "https://github.com/mwgg/passera")
   (license license:gpl3)))
